﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using LCA.Common.Extensions;

namespace LCA.Common.Calculation
{
    public class AppSettings
    {
        public static class TransportB_BasedUnit
        {
            // km
            public static readonly Guid Distance = ConfigurationManager.AppSettings["TransportB-BasedUnit-Distance"].ToGuid().Value;
            // ton
            public static readonly Guid KgLoad = ConfigurationManager.AppSettings["TransportB-BasedUnit-KgLoad"].ToGuid().Value;

        }

        public static class CategoryId
        {
            public static readonly Guid FlowRoot = ConfigurationManager.AppSettings["CategoryId-Flow-Root"].ToGuid().Value;
            public static readonly Guid SystemRoot = ConfigurationManager.AppSettings["CategoryId-System-Root"].ToGuid().Value;
        }
    }
}
